package com.hz.web.service;

import java.util.List;


import com.hz.web.entity.PunishmentEntity;

/**
 * 处罚公示service层
 * @author Administrator
 *
 */
public interface IpunishmentService {
	/**
	 * 添加处罚公示信息
	 * @param entity
	 * @return
	 */
	int addPunishment(PunishmentEntity entity);
	/**
	 * 查询处罚信息
	 * @param parmsMap
	 * @return
	 */
	List<PunishmentEntity> queryPunishment(PunishmentEntity entity,int page,int rows);
	/**
	 * 查询处罚信息总条数
	 * @param parmsMap
	 * @return
	 */
	int queryPunishmentCount (PunishmentEntity entity);

}
